package Dao;

import entity.Decreate;

import java.util.List;

public interface DecreateDao {
    boolean insertDecreate(Decreate decreate);

    List<Decreate> seekDecreateById(Integer id);

    boolean deleteDecreateByDecreateTheme(Integer id, String theme);

    boolean changeDecreateById(Integer id, String theme, Decreate decreate);

    List<Decreate> seekAllDecreate();
}
